Inheritance diagram for TVector2:

Public Member Functions | |
| TVector2 (void) | |
| TVector2 (const real xx, const real yy) | |
| void | SetValues (const real xx, const real yy) |
| uint32 | GetDimension (void) const |
| const real & | operator() (const uint32 elemNum) const |
| real & | operator() (const uint32 elemNum) |
| const real & | operator[] (const uint32 elemNum) const |
| real & | operator[] (const uint32 elemNum) |
| real & | X (void) |
| real & | Y (void) |
| real | X (void) const |
| real | Y (void) const |
| real | GetMagnitude (void) const |
| real | GetMagnitudeSquared (void) const |
| real | GetArgument () const |
| real | GetDistance (const TVector2 &rhs) const |
| boolean | SetMagnitude (const real newMagnitude) |
| void | SetToCenter (const TVector2 &v0, const TVector2 &v1) |
| boolean | Normalize (const real zeroTolerance=0.0f) |
| boolean | NormalizeOrReplaceWith (const TVector2 &replacement, const real zeroTolerance=0.0f) |
| boolean | IsEqual (const TVector2 &compareVec, const real zeroTolerance=0.0f) const |
| void | ClampValue (const TVector2 &min, const TVector2 &max) |
| void | Negate (void) |
| void | Interpolate (const TVector2 &vstart, const TVector2 &vend, const float t) |
| void | Swap (TVector2 &v) |
| TVector2 & | operator/= (const real scalar) |
| TVector2 & | operator *= (const real scalar) |
| TVector2 & | operator+= (const TVector2 &v) |
| TVector2 & | operator-= (const TVector2 &v) |
| TVector2 & | operator= (const int32 i) |
| real | Normalize (TVector2 &result) const |
| real | GetNorm () const |
| real | GetSquaredNorm () const |
Public Attributes | |
| real | x |
| real | y |
Static Public Attributes | |
| static const TVector2 | kZero |
| static const TVector2 | kOnes |
| static const TVector2 | kUnitX |
| static const TVector2 | kUnitY |
| static const TVector2 | kNegativeX |
| static const TVector2 | kNegativeY |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5